package com.java.base.exercise.jvm;

/**
 * @Author RenPu
 * @Date 2024/2/23 12:40
 * @Version 1.0
 * @Description: JIT中分层编译 bug得验证
 **/
public class C2Bug {

    public static void main(String[] args) {
        C2Bug c2Bug = new C2Bug();
        for (int i = 0; i <100000 ; i++) {
            c2Bug.test();
        }

    }


    public void test(){
        int num=8;
        while ((num-=3)>0);
            System.out.println("num得值为：："+num);


    }


}
